package com.xuxueli.applyModules.utils.testtree;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

/**
 * @auther 你是最强者
 * @create 2022-01-18 15:40:19
 * @describe 预警/标签详情实体类
 */
@Data
@ApiModel(value="WarningLabelDetail对象", description="预警/标签详情")
public class WarningLabelDetailDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "学院代码")
    private String xydm;

    @ApiModelProperty(value = "学院名称")
    private String xymc;

    @ApiModelProperty(value = "父标签编码")
    private String pCode;

    @ApiModelProperty(value = "父标签名称")
    private String pName;

    @ApiModelProperty(value = "标签编码")
    private String code;

    @ApiModelProperty(value = "标签名称")
    private String name;

    @ApiModelProperty(value = "评价标签排序")
    private Long tagSort;

    @ApiModelProperty(value = "操作类型")
    private String operationType;

    @ApiModelProperty(value = "操作符号")
    private String operationSymbol;

    @ApiModelProperty(value = "操作值")
    private BigDecimal operationValue = BigDecimal.ZERO;

    @ApiModelProperty(value = "标签归属")
    private String tagCode;

    @ApiModelProperty(value = "标签类型:T代表标签管理，Y代表预警管理")
    private String tagType;

    @ApiModelProperty(value = "类型T：教师 B：学生 Y：研究生")
    private String type;

    @ApiModelProperty(value = "子级集合")
    private List<WarningLabelDetailDto> chrildList = new ArrayList<>();

    public String getpCode() {
        return pCode;
    }

    public void setpCode(String pCode) {
        this.pCode = pCode;
    }

    public String getpName() {
        return pName;
    }

    public void setpName(String pName) {
        this.pName = pName;
    }
}
